import { ApiProperty } from '@nestjs/swagger';
import { IsUUID } from 'class-validator';

export class ChangeRoleListAdminReqDto {
  @ApiProperty({ description: '用户uuid' })
  @IsUUID('4', { message: '用户uuid格式不正确' })
  readonly user_uuid: string;

  @ApiProperty({ description: '角色uuid' })
  @IsUUID('4', { message: '角色uuid格式不正确' })
  readonly role_uuid: string;
}
